import {defineStore} from 'pinia'


export default defineStore('main',{
    state:()=>{
        return {
            isLogin: false,
            isRegister: false,
            userInfo:{
                username:"",
                password:""
            },
            //头部组件状态是否更新
            isHeaderStateUpdate:false
        }   
    },
    actions:{

    }
})  
